﻿using MRSite.AutoMapper.Attributes;
using MRSite.Entity;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.EntityDto
{

    [AutoMapBoth(typeof(manager_role))]
    [ProtoContract]
    public class ManagerRoleDto
    {
        [ProtoMember(1)]
        public int id { get; set; }

        [ProtoMember(2)]
        public string role_name { get; set; }

        [ProtoMember(3)]
        public int role_type { get; set; }

        [ProtoMember(4)]
        public int is_sys { get; set; }

        [ProtoMember(5)]
        public IList<ManagerRoleValueDto> manager_role_values { get; set; }
    }
}
